import reset from "../commons/reset.css"
import weuicss from "../commons/weui.min.css"
import weuiJs from "../commons/weui.min.js"
import font from "../commons/font.js"
import cssActive from "../commons/cssActive.css"

// var Vue = require("vue");
// var App = require("./app");
import Vue from 'vue'
import App from './app'
new Vue({
  el: 'body',
  components: { App },
  ready:function(){
  	// alert(1);
    $(function(){
        var $androidDialog2 = $('#androidDialog2');
        var $con = $('.con');

        // 重新填写
        $('#dialogs').on('click', '.weui-dialog__btn_default', function(){
            $(this).parents('.js_dialog').fadeOut(200);
        });
        // 关闭
        $('#dialogs').on('click', '.weui-dialog__btn_primary', function(){
            $(this).parents('.js_dialog').fadeOut(200);
            window.location.href="index.html"; 
        });

        $('#showAndroidDialog2').on('click', function(){
        	$androidDialog2.css("opacity","1");
            $androidDialog2.fadeIn(200);
        });
    });
  }
})
